package com.sskj.mine.asset.data;


import com.sskj.lib.util.TimeFormatUtil;

import java.util.Date;

public class ExchangeRecordsBean {

    /**
     * num : 25.0000
     * pname :
     * expname :
     * exnum : 12.5000
     * addtime : 1556868501
     * memo : USDT兑换TOKEN
     */

    private String num;
    private String pname;
    private String expname;
    private String exnum;
    private String addtime;
    private String memo;

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public String getExpname() {
        return expname;
    }

    public void setExpname(String expname) {
        this.expname = expname;
    }

    public String getExnum() {
        return exnum;
    }

    public void setExnum(String exnum) {
        this.exnum = exnum;
    }

    public String getAddtime() {
        return TimeFormatUtil.SF_FORMAT_F.format(new Date(Long.valueOf(addtime)*1000));
    }

    public void setAddtime(String addtime) {
        this.addtime = addtime;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }
}
